home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / maple_st.swf / scripts / DefineSprite_276 / frame_1 / DoAction.as
Encoding:
Text File  |  2010-04-12  |  683 b   |  43 lines

  1. act = random(3) + 1;
  2. if(act == actp)
  3. {
  4.    act = random(3) + 1;
  5. }
  6. if(act == actp)
  7. {
  8.    act = random(3) + 1;
  9. }
  10. if(act == actp)
  11. {
  12.    act = random(3) + 1;
  13. }
  14. if(act == actp)
  15. {
  16.    act = random(3) + 1;
  17. }
  18. if(act == 1)
  19. {
  20.    play();
  21. }
  22. else if(act == 2)
  23. {
  24.    gotoAndPlay(57);
  25. }
  26. else
  27. {
  28.    gotoAndPlay(85);
  29. }
  30. dialogn = random(3) + 1;
  31. if(dialogn == 1)
  32. {
  33.    npcdialog = "ΦÖƒσñûΦÖƒσñû∩╝üµ£¼σ║ùΣ┐âΘè╖σñºµ╕¢σâ╣∩╝üΦú£σôüσà¿Θ¥ó5µèÿΦ╡╖σÖó∩╝ü";
  34. }
  35. else if(dialogn == 2)
  36. {
  37.    npcdialog = "Θéäσ£¿τî╢Φ▒½Σ╗ÇΘ║╝∩╝ƒσ┐½Θ╗₧Σ╛åΦ▓╖σûö∩╝üΦ▓╖σàëΣ╕ìΦ▓áΦ▓¼σÖó∩╜₧∩╝ü";
  38. }
  39. else if(dialogn == 3)
  40. {
  41.    npcdialog = "ΘÇÖσ╖ÑΣ╜£τ£ƒΦ╛¢Φïª∩╝üµêæΦÇüσà¼σÄ╗σô¬Σ║å∩╝ƒµ£ÇσÑ╜σ┐½σ¢₧Σ╛å∩╜₧∩╝ü";
  42. }
  43.